﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Toenda.Foundation.Data {
	/// <summary>
	/// Provides modes to open a XML file.
	/// </summary>
	public enum OpenMode {
		/// <summary> Open xml file for reading (this.xmlReader) </summary>
		ForReading = 0,
		/// <summary> Open xml file for writing (XmlWriter) </summary>
		ForWriting = 1,
		/// <summary> Create a xml file (XmlWriter) </summary>
		ForCreating = 2,
		/// <summary> Open a xml document with DOM (XmlWriter) </summary>
		AsDOM = 3
	};
}
